package com.day20.ex11;

public class BosDemo{
    public static void main(String[] args) {
        Box b=new Box();
        Producer p=new Producer(b);
        Customer c=new Customer(b);
        Thread t1=new Thread(p);
        Thread t2=new Thread(c);
        t1.start();
        t2.start();
    }
}
